<template>
    <div>
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item v-for="(item,index) in breadList" :key="index">
                <router-link to="/welcome" v-if="index == 0">
                    {{item.meta.title}}
                </router-link>
                <span v-else>{{item.meta.title}}</span>
            </el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>

<script>
export default {
  name: "Day80Breadcrumb",

  data() {
    return {};
  },

  mounted() {},
  computed: {
    breadList() {
      return this.$route.matched;
    }
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
</style>